package com.efesco.service.hirefire;

import com.bstek.dorado.data.*;
import com.bstek.dorado.data.db.SqlDataset;
import com.bstek.dorado.common.*;
import com.efesco.common.CommUtil;

/**
 * M_hire_fire_dataset_hirefire_detailListener
 */
public class M_hire_fire_dataset_hirefire_detailListener extends
		AbstractDatasetListener {
	public boolean beforeLoadData(Dataset dataset) throws Exception {
		SqlDataset ds = (SqlDataset) dataset;

		String sql = ds.getSql();
		sql += CommUtil.setConditionSQL(ds);
		ds.setSql(sql);
		return true;
	}

}
